package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteLogFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: 鑫仔
 * @Date: 2025/8/8 18:50
 * @Description:
 **/
@FeignClient(contextId = "remoteProductService", value = ServiceNameConstants.PRODUCT_SERVICE, fallbackFactory = RemoteLogFallbackFactory.class)
public interface RemoteProductService {


    @PostMapping("/prod/syncProdIndex")
    public AjaxResult syncProdIndex();
}
